﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QuanLyKhachSan_DAL_WS
{
    public class CPHIEUTHUE
    {
        private int _maPhieu;

        public int MaPhieu
        {
            get { return _maPhieu; }
            set { _maPhieu = value; }
        }
        private int _maKH;

        public int MaKH
        {
            get { return _maKH; }
            set { _maKH = value; }
        }
        private String _maPhong;

        public String MaPhong
        {
            get { return _maPhong; }
            set { _maPhong = value; }
        }
        private DateTime _batDauThue;

        public DateTime BatDauThue
        {
            get { return _batDauThue; }
            set { _batDauThue = value; }
        }
        private int _tinhTrang;

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        // ham khoi tao
        public CPHIEUTHUE()
        {
            this.MaKH = 0;
            this.MaPhieu = 0;
            this.TinhTrang = -1;
            this.BatDauThue = DateTime.Now;
        }
        public CPHIEUTHUE(int MaPh,int MaKhachH,String MaP,DateTime BDThue,int TinhTr)
        {
            this.MaPhieu = MaPh;
            this.MaPhong = MaP;
            this.MaKH = MaKhachH;
            this.BatDauThue = BDThue;
            this.TinhTrang = TinhTr;
        }

        
    }
}
